package biz;

import bean.GoodsInfo;
import dao.GoodsInfoDAO;

import java.util.List;

public class GoodsBiz {
    private GoodsInfoDAO gidao = new GoodsInfoDAO();
    public List<GoodsInfo> findAllGoods(){
        return gidao.findAllGoods();
    }
    public GoodsInfo findGoodsById(int goodsId){
        return gidao.findGoodsById(goodsId);
    }
}
